package com.foo.designpattern.factory.abstractfactory;

/**
 * com.foo.designpattern.factory.abstractfactory
 * Created with IntelliJ IDEA.
 * Created by jiang on 2016-05-10 17:29.
 *
 * @Description BMW523具体工厂：为BMW523系列生产配件
 * 返回BMW523产品族里的不同产品等级的各种产品
 */

public class BMW523Factory implements AbstractFactory {
    @Override
    public Engine createEngine() {
        return new EngineB();
    }

    @Override
    public AirCondition createAirCondition() {
        return new AirConditionB();
    }
}
